<?php
return [
    /** ------ 日志记录 ------ **/
    'user.log' => false,
    'user.log.level' => ['error'], // 级别 ['info', 'warning', 'error']
    'user.log.noPostData' => [ // 安全考虑,不接收Post存储到日志的路由
        'site/login',
    ],
    'user.log.except.code' => [], // 不记录的code

    /** ------ 非微信打开的时候是否开启微信模拟数据 ------ **/
    'simulateUser' => [
        'switch' => false,// 微信应用模拟用户检测开关
        'userInfo' => [
            'id' => 'o2p8oxKhEb-P7jHAVlRvb8PqxEXA',
            'nickname' => '均',
            'name' => '均',
            'avatar' => 'http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLendIAeR8J9yv8qHyR0FSl96CEgICoxXpCoN84x4BQoiaIaf3UwfZpfgycKDNYzcK25kRlbNSRcmQ/132',
            'original' => [
                'openid' => 'o2p8oxKhEb-P7jHAVlRvb8PqxEXA',
                'nickname' => '均',
                'sex' => 1,
                'language' => 'zh_CN',
                'city' => '广州',
                'province' => '广东',
                'country' => '中国',
                'headimgurl' => 'http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLendIAeR8J9yv8qHyR0FSl96CEgICoxXpCoN84x4BQoiaIaf3UwfZpfgycKDNYzcK25kRlbNSRcmQ/132',
                'privilege' => [],
            ],
            'token' => '23_R_3MkDII0Kdo2AeM-NliNrpER9qlSQDwqCwmAQsSuFvOo2s1FPqTnjdEsa4HPBLzso2EV8EfbgGK6w-b3TbZhQ',
            'provider' => 'WeChat',
        ],
    ],
    /** ------ 当前的微信用户信息 ------ **/
    'wechatMember' => [],
    /** --------当前登录的微信--------------- **/
    'wechatAuth'=>[],
];